package com.system.Service;

public interface VerificationCodeService {
    /**
     * 发送邮箱验证码
     */
    boolean sendEmailCode(String email);

    /**
     * 发送手机验证码
     */
    boolean sendPhoneCode(String phone);

    /**
     * 验证验证码
     */
    boolean verifyCode(String type, String receiver, String code);
}
